﻿(function () {
    "use strict";

    WinJS.UI.Pages.define("/pages/home/home.html", {
        // This function is called whenever a user navigates to this page. It
        // populates the page elements with the app's data.
        init: function (element, options){
            WinJS.Binding.processAll(element, ViewModels.loadPets());
            WinJS.Binding.processAll(element, ViewModels.loadVets());
            
        },
        ready: function (element, options) {
            var saveVet = document.getElementById("saveved");
            saveVet.style.display = "none";

            var savePet = document.getElementById("savepet");
            savePet.style.display = "none";

            //WinJS.Utilities.children("")
        }
    });
})();
